<template>
  <div class="banner w">
    <van-swipe :autoplay="3000">
      <van-swipe-item v-for="(image, index) in banner" :key="index">
        <img v-lazy="image.picUrl" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  props: ["banner"],
};
</script>

<style>
</style>